---
sidebar_position: 1
---

import CodeBlock from "@theme/CodeBlock";
import CodeSource from "!raw-loader!../../../../examples/chatEngine";

# Chat Engine

Chat Engine is a class that allows you to create a chatbot from a retriever. It is a wrapper around a retriever that allows you to chat with it in a conversational manner.

<CodeBlock language="ts">{CodeSource}</CodeBlock>
